<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		*{
			margin:0px;
			padding:0px;
		}
		div{
			width: 500px;
			height: 500px;
			background-color: blue;
			display: flex;
			/*position: relative;*/
		}

		div p{
			width: 100px;
			height: 100px;
			background-color: red;
			margin:auto;
			/*position: absolute;
			left: 0px;
			top: 0px;
			right: 0px;
			bottom: 0px;
			margin:auto;*/
			/*left: 50%;
			top: 50%;
			margin-top: -50px;
			margin-left: -50px;*/



		}
	</style>
</head>
<body>
	<div>
		<p></p>
	</div>
</body>
</html>




